﻿<%@ Page Language="C#" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript">

        function pageLoad() {
        }
    
    </script>

    <style type="text/css">
        .panelClass
        {
            background-color: lime;
            width: 300px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        <asp:Panel ID="panelShadow" runat="server" CssClass="panelClass">
            <div>
                <ul>
                    <li>OnClick (mouse click) </li>
                    <li>OnHoverOut (when the mouse leaves a control) </li>
                    <li>OnHoverOver (when the mouse hovers over a control, stopping the OnHoverOut animation)
                    </li>
                    <li>OnLoad (when the page has been loaded) </li>
                    <li>OnMouseOut (when the mouse leaves a control) </li>
                    <li>OnMouseOver (when the mouse hovers over a control, not stopping the OnMouseOut animation)
                    </li>
                    <li>
                        <color> (changing a color)
<FadeIn> (fading in)
<FadeOut> (fading out)
<Property> (changing a control's property)
<Pulse> (pulsating)
<Resize> (changing the size)
<Scale>
                        (proportionally changing the size) </li>
                </ul>
            </div>
        </asp:Panel>
        <asp:AnimationExtender ID="ae" runat="server" TargetControlID="panelShadow">
            <Animations>
            
    <OnClick>
       <Sequence>
     <Pulse Duration=".1" />
    <Parallel Duration=".5" Fps="30">
      <FadeOut />
    <Scale ScaleFactor="2" Unit="px" Center="true"
      ScaleFont="true" FontUnit="pt" />
     </Parallel>
     <FadeIn Duration="1" Fps="24"/>
    </Sequence>
    </OnClick>
 <OnHoverOver>
 <Sequence>
    <FadeOut Duration="1.5" Fps="24" />
    </Sequence>
 </OnHoverOver>
 <OnMouseOver>
    <FadeIn Duration="1" Fps="24"></FadeIn>
 </OnMouseOver>
            </Animations>
        </asp:AnimationExtender>
    </div>
    </form>
</body>
</html>
